package com.yanfan.energy.domain;

import com.yanfan.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 工位记录表(StationRecords)实体类
 *
 * @author makejava
 * @since 2023-01-09 09:58:05
 */
public class StationRecords implements Serializable {
    private static final long serialVersionUID = 653312646228515871L;
    /**
     * 主键
     */
    @Excel(name = "工位记录id")
    private Long id;
    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String operator;
    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间")
    private Date operatorDate;
    /**
     * 工位编号
     */
    @Excel(name = "工位编号")
    private String stationNumber;
    /**
     * 工位名称
     */
    @Excel(name = "工位名称")
    private String stationName;
    /**
     * 预计开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预计开始时间")
    private Date beginDate;
    /**
     * 预计结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预计结束时间")
    private Date endDate;
    /**
     * 实际开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "实际开始时间")
    private Date factBeginDate;
    /**
     * 实际结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "实际结束时间")
    private Date factEndDate;
    /**
     * 预计用时
     */
    @Excel(name = "预计用时")
    private String timeConsuming;
    /**
     * 实际用时
     */
    @Excel(name = "实际用时")
    private String timeFact;
    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createdDate;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间")
    private Date lastModifiedDate;
    /**
     * 关联订单id
     */
    @Excel(name = "订单id")
    private Long orderId;
    /**
     * 订单编号
     *
     * @author caijinkang
     * @date 2023/1/9 14:09
     * @param null
     * @return null
     */
    @Excel(name = "订单编号")
    private String orderNumber;
    /**
     * 批次id
     *
     * @date 2023/1/9 11:35
     * @param null
     * @return null
     */
    @Excel(name = "物料id")
    private Long batchId;
    /**
     * 批次编号
     *
     * @author caijinkang
     * @date 2023/1/9 14:10
     * @param null
     * @return null
     */
    @Excel(name = "批次编号")
    private String batchNumber;
    /**
     * 关联分段id
     */
    @Excel(name = "分段id")
    private Long productionId;
    /**
     * 分段编号
     *
     * @author caijinkang
     * @date 2023/1/9 14:10
     * @param null
     * @return null
     */
    @Excel(name = "分段编号")
    private String productionNumber;
    /**
     * 厂区名称
     *
     * @author caijinkang
     * @date 2023/1/9 14:11
     * @param null
     * @return null
     */
    @Excel(name = "厂区名称")
    private String plantName;
    /**
     * 车间名称
     *
     * @author caijinkang
     * @date 2023/1/9 14:11
     * @param null
     * @return null
     */
    @Excel(name = "车间名称")
    private String workshopName;
    /**
     * 位置
     */
    @Excel(name = "位置")
    private String location;
    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String phone;
    /**
     * 工位记录状态：使用中、已结束、未开始
     */
    @Excel(name = "工位记录状态")
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getOperatorDate() {
        return operatorDate;
    }

    public void setOperatorDate(Date operatorDate) {
        this.operatorDate = operatorDate;
    }

    public String getStationNumber() {
        return stationNumber;
    }

    public void setStationNumber(String stationNumber) {
        this.stationNumber = stationNumber;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getFactBeginDate() {
        return factBeginDate;
    }

    public void setFactBeginDate(Date factBeginDate) {
        this.factBeginDate = factBeginDate;
    }

    public Date getFactEndDate() {
        return factEndDate;
    }

    public void setFactEndDate(Date factEndDate) {
        this.factEndDate = factEndDate;
    }

    public String getTimeConsuming() {
        return timeConsuming;
    }

    public void setTimeConsuming(String timeConsuming) {
        this.timeConsuming = timeConsuming;
    }

    public String getTimeFact() {
        return timeFact;
    }

    public void setTimeFact(String timeFact) {
        this.timeFact = timeFact;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getProductionId() {
        return productionId;
    }

    public void setProductionId(Long productionId) {
        this.productionId = productionId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getProductionNumber() {
        return productionNumber;
    }

    public void setProductionNumber(String productionNumber) {
        this.productionNumber = productionNumber;
    }

    public String getPlantName() {
        return plantName;
    }

    public void setPlantName(String plantName) {
        this.plantName = plantName;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }
}

